package com.jr.service.impl;


import com.jr.entity.City;
import com.jr.mapper.CityDao;
import com.jr.service.CityService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;


/**
 * @Author: 季成索
 * @Date:
 * @email: 2301861732@qq.com
 **/
@Service
public class CityServiceImpl implements CityService {
    @Autowired
   private CityDao cityDao;

    @Override
    public List<City> getAllCity(String pid) {
        List<City> selectcityAll = cityDao.selectAllCity(pid);
        return selectcityAll;
    }
}